/*
 * @Descripttion:
 * @version:
 * @Author: ChenXiang
 * @Date: 2021-03-24 13:16:40
 * @LastEditors: ChenXiang
 * @LastEditTime: 2021-06-01 10:35:21
 */
import Request from "./ajax";
const proxyName = process.env.NODE_ENV === "development" ? "MOCK" : "API";
Request.parseRoute("Demo", {
  tableDel: { url: `${proxyName}/demo/list/del` },
  tables: { url: `${proxyName}/demo/list` },
  tableInfo: {
    url: `${proxyName}/demo/list/info`,
    option: { type: "get" }
  } // http['Demo'].tableInfo({ tableName: 1 })
});
export default Request;
